<!--
 * @Author: C.
 * @Date: 2023-05-17 08:57:53
-->
<template>
  <div>
    <Button @click="toBoard"> 看板demo </Button>
  </div>
</template>
<script lang="ts" setup>
  // ----------------------------- 第三方引入 -----------------------------
  // import { ref } from 'vue';
  import { Button } from 'ant-design-vue';

  // ----------------------------- hooks -----------------------------
  import { useAppRouter } from '/~/hooks/help/useAppRouter';

  // ----------------------------- 组件 -----------------------------

  // ----------------------------- 其他引入 -----------------------------

  //----------------------------- 变量声明区 -----------------------------

  // ----------------------------- hooks使用区 -----------------------------
  const { push } = useAppRouter();

  // ----------------------------- 钩子函数区 -----------------------------

  //  ----------------------------- 自定义方法区 -----------------------------
  function toBoard() {
    push({
      name: 'BoardTest',
    });
  }
</script>
<style lang="less" scoped></style>
